<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="<%=basePath%>">

    <title>用户登陆</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">

</head>

<body style="background:url(<%=basePath%>/background.jpg) repeat-x 40px -40px">
<div id="content">
    <h2 align="center" style="font-family: '新宋体',serif;color: blue;font-size: 30px">血库管理系统</h2>
    <hr/>
    <form method="post" action="Login.action">
        <table style="margin:140px auto 60px auto">
            <tr>
                <td align="right">
                    <span style="font-family: '微软雅黑',serif;display: block;"> 用户名：</span>
                </td>
                <td>
                    <input type="text" name="userName" value=""
                           style="width: 200px;height: 25px;margin:5px auto;" class="input"/><br/>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <span style="font-family: '微软雅黑',serif;display: block;margin:5px auto;">  密 码：</span>
                </td>
                <td>
                    <input type="password" name="password" value=""
                           style="width: 200px;height: 25px;margin:5px auto;" class="input"/><br/>
                    <%--默认两周 依赖cookie--%>
                </td>
            </tr>
            <tr>
                <td align="right"><span style="font-family: '微软雅黑',serif;display: block;">登陆身份：</span></td>
                <td>
                    <select name="powerGroup" id="group" style="width: 205px;height: 25px;font-size: 18px;
                    margin:7px auto;" class="input">
                        <option value="value0">--------请选择---------</option>
                        <option value="管理员">管理员</option>
                        <option value="医生">医生</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <div id="link">
                        <input type="submit" value="登 录" onMouseOver="this.style.background='#2569c1'"
                               onmouseout="this.style.background='#114a93'"
                               style="width:200px;height:30px;margin:7px auto;
                               cursor:pointer;border: none;background: #114a93;color: white;font-size: 16px;"/>

                        <a href="<%=basePath%>page/login/forgotPasswordMes.jsp"
                           style="font-family: '微软雅黑',serif;margin: 0 auto;text-align: center;cursor:pointer;border: none;
                           color: black;font-size: 16px;text-decoration: none;">忘记密码</a>
                    </div>
                </td>
            </tr>
        </table>
    </form>
</div>

<div id="footer">
    <p style="text-align: center;color: #757575;padding: 20px 0 0 0; font:12px;">Copyright © 2010-2013
        蓝天白云团队版权所有</p>
</div>
</body>
</html>
